package org.sn.jdish.interview.dmall.payment.impl;

import org.sn.jdish.interview.dmall.payment.IpaymentStrategy;

public class AliPaymentStrategy implements IpaymentStrategy {

	private static AliPaymentStrategy aliPaymentStrategy;

	private AliPaymentStrategy() {

	}

	public static AliPaymentStrategy getInstance() {
		if (null == aliPaymentStrategy) {
			aliPaymentStrategy = new AliPaymentStrategy();
		}
		return aliPaymentStrategy;
	}

	@Override
	public boolean pay(int userId, int fee) {
		System.out.println("AliPaymentStrategy");
		return false;
	}

}
